﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="YY.Web.Default" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>代理商平台 - 后台管理中心</title>
    <link href="/jQuery/PlugIns/artdialog/ui-dialog.css" rel="stylesheet" type="text/css" />
    <link href="skin/default/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" charset="utf-8" src="/jQuery/jquery-1.11.2.min.js"></script>
    <script src="/jQuery/PlugIns/nicescroll/jquery.nicescroll.js" type="text/javascript"></script>
    <script src="/jQuery/PlugIns/artdialog/dialog-plus-min.js" type="text/javascript"></script>
    <script type="text/javascript" charset="utf-8" src="js/layindex.js"></script>
    <script type="text/javascript" charset="utf-8" src="js/common.js"></script>
    <script type="text/javascript">
        //页面加载完成时
        $(function () {
            //检测IE
            if ('undefined' == typeof (document.body.style.maxHeight)) {
                window.location.href = 'ie6update.html';
            }
            if ($("#hdnactionurl").val()) {
                $("#mainframe").attr("src", $("#hdnactionurl").val());
            }
        });

        function Blank_Event(a) {
            //是否新窗口打开
            var href = $(a).attr("href");
            if (href.indexOf('Blank') > -1) {
                $(a).attr("target", "_blank");
                return false;
            }
        }
    </script>
    <style type="text/css">
        .logo_text {
            float: right;
            width: 70%;
            margin-top: -20px;
        }
    </style>
</head>

<body class="indexbody">
    <form id="form1" runat="server">
        <asp:HiddenField ID="hdnactionurl" runat="server" />
        <!--全局菜单-->
        <a class="btn-paograms" onclick="togglePopMenu();"></a>
        <div id="pop-menu" class="pop-menu">
            <div class="pop-box">
                <h1 class="title"><i></i>导航菜单</h1>
                <i class="close" onclick="togglePopMenu();">关闭</i>
                <div class="list-box"></div>
            </div>
            <i class="arrow">箭头</i>
        </div>
        <!--/全局菜单-->

        <div class="main-top">
            <a class="icon-menu"></a>
            <div id="main-nav" class="main-nav"></div>
            <div class="nav-right">
                <div class="info">
                    <i></i>
                    <span>您好，<%=ModelAgentUsers.user_name%><br>
                        <%=ModelAgentUsers.area%>
                    </span>
                </div>
                <div class="option">
                    <i></i>
                    <div class="drop-wrap">
                        <div class="arrow"></div>
                        <ul class="item">
                            <li>
                                <a href="Center.aspx" target="mainframe">管理中心</a>
                            </li>
                            <li>
                                <a href="MyAgent/ModifyPwd.aspx" target="mainframe">修改密码</a>
                            </li>
                            <li>
                                <asp:LinkButton ID="lbtnExit" runat="server" OnClick="lbtnExit_Click">注销登录</asp:LinkButton>
                            </li>
                            <li>
                                <a href="javascript:;" target="mainframe">登陆日志</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="main-left">
            <div class="logo"></div>
            <div class="logo_text">代理商后台管理</div>
            
            <div id="sidebar-nav" class="sidebar-nav"></div>
        </div>

        <div class="main-container">
            <iframe id="mainframe" name="mainframe" frameborder="0" src="center.aspx"></iframe>
        </div>
    </form>
</body>
</html>
